﻿using System.Linq;

namespace CDOP.Model
{
    public partial class UserType
    {
        private readonly CDOPEntities _db = new CDOPEntities();
        public UserType GetNormalType()
        {
            return _db.UserType.Where(x => x.Type.ToLower() == "normal").FirstOrDefault();
        }
    }
}